package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "service-user")
public interface UserFeignClient {

    //用户收货地址集合
    @GetMapping("/api/user/getUserInfoAddress")
    public List<UserAddress> getUserInfoAddress();

}
